package com.itheima.pojo.hm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/*
 *@Parm
 *@ClassName HmArticles
 *@Date 2022/1/9 19:42
 */
@TableName("hm_articles")
@Data
public class HmArticles {
    //id
    private Integer id;

    //宣言
    private String title;

    //
    @TableField("articleBody")
    private String articleBody;

    //路径
    @TableField("videoURL")
    private String videoURL;

    //访问次数
    private String visits;

    //
    private Integer state;

    //创建时间
    @TableField("createTime")
    private LocalDateTime createTime;

    //
    @TableField("creatorID")
    private Integer creatorID;

    @TableField(exist = false)
    private String creator;


}
